package me.jianghs.constant;

public final class Constants {

    public static final int PKG_HEAD_LEN = 4;

    public static final int MAX_CONTENT_LENGTH = 16384000;

    public static final int MAX_BUFF_SIZE = 24 * 1024;

    public static final int SOCK_BACKLOG = 1024;

    // unit: millisecond
    public static final long DEFAULT_PERIOD_PER_BULK = 300;

    // unit: second
    public static final int IDLE_TIMEOUT_OF_GATEWAY = 5;
}
